var util = require('../../utils/util.js');
var ajax = require('../../utils/ajax.js');
var common = require('../../utils/common.js');
var PageBase = require('../../common/PageBase.js');
var app = getApp();

Page(common.extendPage(PageBase, {
  data: {
    isSuccess: true,
    orderNum: '',
    orderId: '',
    payPrice: 0
  },
  /**
   * 页面初始化
   */
  onLoad(options) {
    this._options = options;
    this.setData({
      orderNum: this._options.orderNum,
      orderId: this._options.orderId,
      payPrice: parseFloat(this._options.payPrice).toFixed(2)
    })
  }
}));